package com.quyeying.mapper;

import com.quyeying.entity.TblOrderProductEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 订单商品信息表 Mapper 接口
 * </p>
 *
 * @author skx
 * @since 2022-07-19
 */
@Mapper
public interface TblOrderProductDao extends BaseMapper<TblOrderProductEntity> {

    /**
     * 获取订单商品信息and商品浏览量
     */
    List<TblOrderProductEntity> getOrderProductAndBrowse(Long orderId);
}
